package cn.scut.openfeign.client;

import cn.scut.openfeign.utils.Model;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "userservice")
public interface UserClient {
    @PutMapping("/user/upgrade")
    Model apiUpgrade(@RequestBody JSONObject jsonObject);
}
